package com.jinmdz.fmis.dao.model.document;

import com.jinmdz.fmis.core.annotation.AnDict;
import com.jinmdz.fmis.core.constant.EDictCode;
import com.jinmdz.fmis.dao.base.BaseItem;

/**
 * 文档文件
 *
 * @author LiCongLu
 * @date 2020-01-07 11:32
 */
public class DocumentFileItem extends BaseItem {

    /**
     * 业务编码
     */
    private String businessCode;

    /**
     * 文档类别外键
     */
    private Integer documentTypeCode;

    /**
     * 文档类别
     */
    @AnDict(dict = EDictCode.DOCUMENT_TYPE, ref = "documentTypeId")
    private String documentType;

    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 文件路径
     */
    private String filePath;

    /**
     * 文件大小
     */
    private Long fileLength;

    /**
     * 文件后缀名
     */
    private String fileExtension;

    /**
     * 缩略图路径
     */
    private String thumbPath;

    /**
     * 文件描述
     */
    private String fileDescribe;

    /**
     * 文件特定编码
     */
    private String fileCode;

    /**
     * 随机码
     */
    private String randomCode;

    public String getBusinessCode() {
        return businessCode;
    }

    public DocumentFileItem setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getDocumentTypeCode() {
        return documentTypeCode;
    }

    public DocumentFileItem setDocumentTypeCode(Integer documentTypeCode) {
        this.documentTypeCode = documentTypeCode;
        return this;
    }

    public String getDocumentType() {
        return documentType;
    }

    public DocumentFileItem setDocumentType(String documentType) {
        this.documentType = documentType;
        return this;
    }

    public String getFileName() {
        return fileName;
    }

    public DocumentFileItem setFileName(String fileName) {
        this.fileName = fileName;
        return this;
    }

    public String getFilePath() {
        return filePath;
    }

    public DocumentFileItem setFilePath(String filePath) {
        this.filePath = filePath;
        return this;
    }

    public Long getFileLength() {
        return fileLength;
    }

    public DocumentFileItem setFileLength(Long fileLength) {
        this.fileLength = fileLength;
        return this;
    }

    public String getFileExtension() {
        return fileExtension;
    }

    public DocumentFileItem setFileExtension(String fileExtension) {
        this.fileExtension = fileExtension;
        return this;
    }

    public String getThumbPath() {
        return thumbPath;
    }

    public DocumentFileItem setThumbPath(String thumbPath) {
        this.thumbPath = thumbPath;
        return this;
    }

    public String getFileDescribe() {
        return fileDescribe;
    }

    public DocumentFileItem setFileDescribe(String fileDescribe) {
        this.fileDescribe = fileDescribe;
        return this;
    }

    public String getFileCode() {
        return fileCode;
    }

    public DocumentFileItem setFileCode(String fileCode) {
        this.fileCode = fileCode;
        return this;
    }

    public String getRandomCode() {
        return randomCode;
    }

    public DocumentFileItem setRandomCode(String randomCode) {
        this.randomCode = randomCode;
        return this;
    }
}
